package com.lin.sqltool.dialog;

import com.lin.sqltool.controller.ConnectionDialogController;
import com.lin.sqltool.listener.SimpleConnectionListener;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.stage.Stage;

import java.io.IOException;

public class ConfigDialog extends Stage {

    public ConfigDialog() {
        super();
        this.setTitle("首选项");

        try {
            FXMLLoader loader = new FXMLLoader(getClass().getResource("/fxml/ConfigDialog.fxml"));
            Scene scene = new Scene(loader.load(), 750, 550);
            //ConnectionDialogController controller = loader.getController();
            this.setScene(scene);
        } catch (IOException e) {
            e.printStackTrace();
        }

        show();
    }


}